Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
object PortalLogger
Link copied to clipboard
Link copied to clipboard
Coroutine-based HTTP transport used by every API class in the SDK.
Properties
Functions
Link copied to clipboard
Generates a UUID v4 trace ID for request correlation.
Link copied to clipboard
Returns true when headers already contains a non-blank Portal trace header (case-insensitive).
Link copied to clipboard
Returns true when url targets a Portal-owned host (or a local Portal API). Used to avoid attaching X-Portal-Trace-Id to third-party HTTP calls (e.g. Google Drive, CryptoCompare).
Link copied to clipboard
Returns traceId when it is non-blank, otherwise generates a fresh UUID.
Link copied to clipboard
Returns the first non-blank value for the Portal trace header (case-insensitive key lookup). When multiple case-variant keys exist, blank entries are skipped.